package org.lhg.activiti.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.lhg.activiti.mapper.GroupMapper;
import org.lhg.activiti.model.Group;
import org.lhg.activiti.service.GroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service
@Transactional
public class GroupServiceImpl extends ServiceImpl<GroupMapper, Group> implements GroupService {
    @Autowired
    private GroupMapper groupMapper;

    @Override
    public List<Group> find(Map<String,Object> map) {
        return groupMapper.find(map);
    }
}
